import axios from 'axios'
export const fetchData = (fn)=>{
	axios.get('https://baike.baidu.com/wikisubmit/api/viewcheck?lemmaId=31661').then(res=>{
		fn(res.data)
	})
}

// -----------------------------------------------
export const fetchTwoData = ()=>{
	return axios.get('https://baike.baidu.com/wikisubmit/api/viewcheck?lemmaId=31661')
}

// -------------------------------------------------
export const fetchThreeData = ()=>{
	return axios.get('https://store.niujiekongjian.com/login')
}

// -----------------------------------------------------
export const fetchFourData = ()=>{
	return axios.get('https://baike.baidu.com/wikisubmit/api/viewcheck?lemmaId=316612')
}